package com.gitee.cnzhangjie.webserviceserver.service.impl;

import com.gitee.cnzhangjie.webserviceserver.service.IUserService;
import org.springframework.stereotype.Service;

import javax.jws.WebService;

@Service
@WebService(
        serviceName = "c",
        targetNamespace = "http://service.webserviceserver.cnzhangjie.gitee.com/",
        endpointInterface = "com.gitee.cnzhangjie.webserviceserver.service.IUserService"
)
public class UserServiceImpl implements IUserService {
    @Override
    public String sayHello(String username) {
        return username + " say hello!";
    }
}
